<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:16:59 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git for-each-ref</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Plumbing_Commands">
                                Plumbing Commands                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="e4860941da62b0cac24590f3404e787e39e197757a70662eea2a79994f143ffb/2d" data-source="git-for-each-ref" onmousemove="i18n(this)">git-for-each-ref</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="d12a7140a2404c4a91b1d954a0aab4d2a1d4c47adf9d3b6f1452a11f3afb6158/97" data-source="git-for-each-ref - Output information on each ref" onmousemove="i18n(this)">git-for-each-ref &mdash; &Vcy;&ycy;&vcy;&ocy;&dcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &pcy;&ocy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-css">git for-each-ref <span class="hljs-selector-attr">[--count=&lt;count&gt;]</span> <span class="hljs-selector-attr">[--shell|--perl|--python|--tcl]</span>
                   <span class="hljs-selector-attr">[(--sort=&lt;key&gt;)&hellip;&ZeroWidthSpace;]</span> <span class="hljs-selector-attr">[--format=&lt;format&gt;]</span>
                   <span class="hljs-selector-attr">[ --stdin | &lt;pattern&gt;&hellip;]</span>
                   <span class="hljs-selector-attr">[--points-at=&lt;object&gt;]</span>
                   <span class="hljs-selector-attr">[--merged[=&lt;object&gt;]</span>] <span class="hljs-selector-attr">[--no-merged[=&lt;object&gt;]</span>]
                   <span class="hljs-selector-attr">[--contains[=&lt;object&gt;]</span>] <span class="hljs-selector-attr">[--no-contains[=&lt;object&gt;]</span>]
                   <span class="hljs-selector-attr">[--exclude=&lt;pattern&gt; &hellip;&ZeroWidthSpace;]</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="4689a9ed59b879de190db6eb2acf70e8bdaed8952cc853200660e8e143597df3/06" data-source="Iterate over all refs that match &lt;code&gt;&amp;lt;pattern&amp;gt;&lt;/code&gt; and show them according to the given &lt;code&gt;&amp;lt;format&amp;gt;&lt;/code&gt;, after sorting them according to the given set of &lt;code&gt;&amp;lt;key&amp;gt;&lt;/code&gt;. If &lt;code&gt;&amp;lt;count&amp;gt;&lt;/code&gt; is given, stop after showing that many refs. The interpolated values in &lt;code&gt;&amp;lt;format&amp;gt;&lt;/code&gt; can optionally be quoted as string literals in the specified host language allowing their direct evaluation in that language." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&bcy;&rcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy;  <code>&lt;pattern&gt;</code> , &icy; &pcy;&ocy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &icy;&khcy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&mcy;  <code>&lt;format&gt;</code> , &pcy;&rcy;&iecy;&dcy;&vcy;&acy;&rcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&tcy;&scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&vcy; &icy;&khcy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&mcy; &ncy;&acy;&bcy;&ocy;&rcy;&ocy;&mcy;  <code>&lt;key&gt;</code> . &IEcy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;  <code>&lt;count&gt;</code> , &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy;&scy;&softcy; &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy; &tcy;&acy;&kcy;&ocy;&gcy;&ocy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;. &Icy;&ncy;&tcy;&iecy;&rcy;&pcy;&ocy;&lcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &vcy;  <code>&lt;format&gt;</code>  &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &zcy;&acy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ycy; &vcy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy; &kcy;&acy;&kcy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&vcy;&ycy;&iecy; &lcy;&icy;&tcy;&iecy;&rcy;&acy;&lcy;&ycy; &ncy;&acy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&mcy; &yacy;&zcy;&ycy;&kcy;&iecy;, &chcy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &ocy;&scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&lcy;&yacy;&tcy;&softcy; &icy;&khcy; &pcy;&rcy;&yacy;&mcy;&ucy;&yucy; &ocy;&tscy;&iecy;&ncy;&kcy;&ucy; &ncy;&acy; &ecy;&tcy;&ocy;&mcy; &yacy;&zcy;&ycy;&kcy;&iecy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-for-each-ref.txt-ltpatterngt82308203"><span data-i18n="f73b8ba73605efe4bde5cc02ee25c1bbf0e6e66e24b5ec544bd6263a0f93f94d/b3" data-source="&amp;lt;pattern&amp;gt;&amp;hellip;" onmousemove="i18n(this)">&lt;pattern&gt;&hellip;</span></dt> <dd> <p><span data-i18n="190717974757708b1fe7e93bbeb09b0b3c00e5d014348fe0a38d44690ed390cf/49" data-source="If one or more patterns are given, only refs are shown that match against at least one pattern, either using fnmatch(3) or literally, in the latter case matching completely or from the beginning up to a slash." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy; &ocy;&dcy;&icy;&ncy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&vcy;, &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy;, &lcy;&icy;&bcy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; fnmatch(3), &lcy;&icy;&bcy;&ocy; &bcy;&ucy;&kcy;&vcy;&acy;&lcy;&softcy;&ncy;&ocy;, &vcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy;&ocy;&vcy;&pcy;&acy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy;&lcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &icy;&lcy;&icy; &scy; &ncy;&acy;&chcy;&acy;&lcy;&acy; &dcy;&ocy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ycy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---stdin"><span data-i18n="06cc2377ccb785d93fd1515e188ca4dfe8c83def25a0c91bd36731a3b50c77f2/d9" data-source="--stdin" onmousemove="i18n(this)">--stdin</span></dt> <dd> <p><span data-i18n="6c10ca23e9ff34408d023991a1a72c9bdd1c6faf5d7ef7a4ed8f814f246996d1/c7" data-source="If &lt;code&gt;--stdin&lt;/code&gt; is supplied, then the list of patterns is read from standard input instead of from the argument list." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--stdin</code> , &tcy;&ocy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&vcy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy;, &acy; &ncy;&iecy; &icy;&zcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---countltcountgt"><span data-i18n="fe9314c0bef572cf15dda4546009b172ec10b38842349480d0bea4924581b3e6/36" data-source="--count=&amp;lt;count&amp;gt;" onmousemove="i18n(this)">--count=&lt;count&gt;</span></dt> <dd> <p><span data-i18n="4819048d2868386c4196b9a21e279aacea9da88c0149fbf7248c084f6c22b6f0/b0" data-source="By default the command shows all refs that match &lt;code&gt;&amp;lt;pattern&amp;gt;&lt;/code&gt;. This option makes it stop after showing that many refs." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy;  <code>&lt;pattern&gt;</code> . &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ocy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&ocy;&kcy;&acy;&zcy;&acy; &tcy;&acy;&kcy;&ocy;&gcy;&ocy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---sortltkeygt"><span data-i18n="921fbc5300b7dc17202deacd8ae25406a7f792a0045f3a528a48bf79a9d7c5d9/58" data-source="--sort=&amp;lt;key&amp;gt;" onmousemove="i18n(this)">--sort=&lt;key&gt;</span></dt> <dd> <p><span data-i18n="40ab2c3f330b41d1495f4b05126cd0b1bcbd0e780668eb72347411c7eea6161d/58" data-source="A field name to sort on. Prefix &lt;code&gt;-&lt;/code&gt; to sort in descending order of the value. When unspecified, &lt;code&gt;refname&lt;/code&gt; is used. You may use the --sort=&amp;lt;key&amp;gt; option multiple times, in which case the last key becomes the primary key." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &pcy;&ocy;&lcy;&yacy; &dcy;&lcy;&yacy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy;. &Pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;  <code>-</code>  &dcy;&lcy;&yacy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &vcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy; &ucy;&bcy;&ycy;&vcy;&acy;&ncy;&icy;&yacy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>refname</code> . &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy; --sort=&lt;key&gt; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &rcy;&acy;&zcy;, &icy; &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &kcy;&lcy;&yucy;&chcy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy; &pcy;&iecy;&rcy;&vcy;&icy;&chcy;&ncy;&ycy;&mcy; &kcy;&lcy;&yucy;&chcy;&ocy;&mcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---formatltformatgt"><span data-i18n="edf342131bf7a930b11b7bf6bdd333440f797c2b09b5eda9cc2bfb972f3a6441/23" data-source="--format=&amp;lt;format&amp;gt;" onmousemove="i18n(this)">--format=&lt;format&gt;</span></dt> <dd> <p><span data-i18n="d7f736f765071844b5095a55d144075912324dd8a67bd6e2923942bbe6e778f0/2b" data-source="A string that interpolates &lt;code&gt;%(fieldname)&lt;/code&gt; from a ref being shown and the object it points at. If &lt;code&gt;fieldname&lt;/code&gt; is prefixed with an asterisk (&lt;code&gt;*&lt;/code&gt;) and the ref points at a tag object, use the value for the field in the object which the tag object refers to (instead of the field in the tag object). When unspecified, &lt;code&gt;&amp;lt;format&amp;gt;&lt;/code&gt; defaults to &lt;code&gt;%(objectname) SPC %(objecttype) TAB %(refname)&lt;/code&gt;. It also interpolates &lt;code&gt;%%&lt;/code&gt; to &lt;code&gt;%&lt;/code&gt;, and &lt;code&gt;%xx&lt;/code&gt; where &lt;code&gt;xx&lt;/code&gt; are hex digits interpolates to character with hex code &lt;code&gt;xx&lt;/code&gt;; for example &lt;code&gt;%00&lt;/code&gt; interpolates to &lt;code&gt;\0&lt;/code&gt; (NUL), &lt;code&gt;%09&lt;/code&gt; to &lt;code&gt;\t&lt;/code&gt; (TAB) and &lt;code&gt;%0a&lt;/code&gt; to &lt;code&gt;\n&lt;/code&gt; (LF)." onmousemove="i18n(this)">&Scy;&tcy;&rcy;&ocy;&kcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&tcy;  <code>%(fieldname)</code>  &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&mcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&ncy;&acy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;. &IEcy;&scy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy;  <code>fieldname</code>  &scy;&tcy;&ocy;&icy;&tcy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&acy; (  <code>*</code>  ), &acy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;-&tcy;&iecy;&gcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy;&lcy;&yacy; &vcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&iecy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;-&tcy;&iecy;&gcy; (&vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&ocy;&lcy;&yacy; &vcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&iecy;-&tcy;&iecy;&gcy;&iecy;). &IEcy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;,  <code>&lt;format&gt;</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>%(objectname) SPC %(objecttype) TAB %(refname)</code> . &Ocy;&ncy; &tcy;&acy;&kcy;&zhcy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&tcy;  <code>%%</code>  &vcy;  <code>%</code>  &icy;  <code>%xx</code> , &gcy;&dcy;&iecy;  <code>xx</code>  &mdash; &ZeroWidthSpace;&ZeroWidthSpace;&shcy;&iecy;&scy;&tcy;&ncy;&acy;&dcy;&tscy;&acy;&tcy;&iecy;&rcy;&icy;&chcy;&ncy;&ycy;&iecy; &tscy;&icy;&fcy;&rcy;&ycy;, &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&iecy; &vcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy; &scy; &shcy;&iecy;&scy;&tcy;&ncy;&acy;&dcy;&tscy;&acy;&tcy;&iecy;&rcy;&icy;&chcy;&ncy;&ycy;&mcy; &kcy;&ocy;&dcy;&ocy;&mcy;  <code>xx</code> ; &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>%00</code>  &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&ocy;&lcy;&icy;&rcy;&ucy;&iecy;&tcy; &vcy;  <code>\0</code>  (NUL),  <code>%09</code>  &vcy;  <code>\t</code>  (TAB) &icy;  <code>%0a</code>  &vcy;  <code>\n</code>  (LF).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---colorltwhengt"><span data-i18n="c36185df0ea2ffc285428d39c8d1623313b991728a5d48e23cf8d6b438721a82/7e" data-source="--color[=&amp;lt;when&amp;gt;]" onmousemove="i18n(this)">--color[=&lt;when&gt;]</span></dt> <dd> <p><span data-i18n="a03809abba15a50c5723d237d88853186a4b935bf2a33b1583038c184b72cf34/e2" data-source="Respect any colors specified in the &lt;code&gt;--format&lt;/code&gt; option. The &lt;code&gt;&amp;lt;when&amp;gt;&lt;/code&gt; field must be one of &lt;code&gt;always&lt;/code&gt;, &lt;code&gt;never&lt;/code&gt;, or &lt;code&gt;auto&lt;/code&gt; (if &lt;code&gt;&amp;lt;when&amp;gt;&lt;/code&gt; is absent, behave as if &lt;code&gt;always&lt;/code&gt; was given)." onmousemove="i18n(this)">&Scy;&ocy;&bcy;&lcy;&yucy;&dcy;&acy;&jcy;&tcy;&iecy; &lcy;&yucy;&bcy;&ycy;&iecy; &tscy;&vcy;&iecy;&tcy;&acy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--format</code> . &Pcy;&ocy;&lcy;&iecy;  <code>&lt;when&gt;</code>  &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &bcy;&ycy;&tcy;&softcy; &ocy;&dcy;&ncy;&icy;&mcy; &icy;&zcy;  <code>always</code> ,  <code>never</code>  &icy;&lcy;&icy;  <code>auto</code>  (&iecy;&scy;&lcy;&icy;  <code>&lt;when&gt;</code>  &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &vcy;&iecy;&dcy;&icy;&tcy;&iecy; &scy;&iecy;&bcy;&yacy; &tcy;&acy;&kcy;, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy;  <code>always</code>  &bcy;&ycy;&lcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---shell"><span data-i18n="b4608ac505572147f4d96a4056b9f3f62041084db21ab26bec16c967e588d3ad/a4" data-source="--shell" onmousemove="i18n(this)">--shell</span></dt> <dt id="Documentation/git-for-each-ref.txt---perl"><span data-i18n="dff89cde899521cc62cd9d0e25054f9e75396829d87f2f5ca2a9ea7aeb4391ab/dc" data-source="--perl" onmousemove="i18n(this)">--perl</span></dt> <dt id="Documentation/git-for-each-ref.txt---python"><span data-i18n="d1e0e405dc961527ee56577b603da61ff74d58e3fe34777876a00fbcccdd4015/f1" data-source="--python" onmousemove="i18n(this)">--python</span></dt> <dt id="Documentation/git-for-each-ref.txt---tcl"><span data-i18n="96a36e68fa27a525b129b9cbd86a6d8d223998c0d9561dff09a890b71f35abd2/60" data-source="--tcl" onmousemove="i18n(this)">--tcl</span></dt> <dd> <p><span data-i18n="3ad0a6d75ad38d125ecbb1c0a6564ab3d1cc9286c38cfa09f735b78c6a507a3b/7e" data-source="If given, strings that substitute &lt;code&gt;%(fieldname)&lt;/code&gt; placeholders are quoted as string literals suitable for the specified host language. This is meant to produce a scriptlet that can directly be `eval`ed." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;&ocy;, &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &zcy;&acy;&mcy;&iecy;&ncy;&yacy;&yucy;&shchcy;&icy;&iecy; &zcy;&acy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&icy;  <code>%(fieldname)</code> , &zcy;&acy;&kcy;&lcy;&yucy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy; &kcy;&acy;&kcy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&vcy;&ycy;&iecy; &lcy;&icy;&tcy;&iecy;&rcy;&acy;&lcy;&ycy;, &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&iecy; &dcy;&lcy;&yacy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&gcy;&ocy; &yacy;&zcy;&ycy;&kcy;&acy;. &Ecy;&tcy;&ocy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ocy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &scy;&kcy;&rcy;&icy;&pcy;&tcy;&lcy;&iecy;&tcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ncy;&acy;&pcy;&rcy;&yacy;&mcy;&ucy;&yucy; `&ocy;&tscy;&iecy;&ncy;&icy;&tcy;&softcy;`.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---points-atltobjectgt"><span data-i18n="cee4c44d7f0a5187f7d807ef6b9647bb2d4b51e2f7d37afdc12da5683e5192d4/3c" data-source="--points-at=&amp;lt;object&amp;gt;" onmousemove="i18n(this)">--points-at=&lt;object&gt;</span></dt> <dd> <p><span data-i18n="c621070833ebf5ae5aa582fa3c6cb8cdc89605ea6c1052c58c2fab03d36c6b09/13" data-source="Only list refs which points at the given object." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&icy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&iecy; &ncy;&acy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---mergedltobjectgt"><span data-i18n="97b618fb1c2c49e8c85231c2d674ed9b17183f0b8283729b133b06a2d30fd511/c6" data-source="--merged[=&amp;lt;object&amp;gt;]" onmousemove="i18n(this)">--merged[=&lt;object&gt;]</span></dt> <dd> <p><span data-i18n="a11f352afcacf24a3200e248e32fc95ab118d118839435223a67946e4715b0e2/75" data-source="Only list refs whose tips are reachable from the specified commit (HEAD if not specified)." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&icy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &scy;&ocy;&vcy;&iecy;&tcy;&ycy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &icy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; (HEAD, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---no-mergedltobjectgt"><span data-i18n="183dc71954e6a524dd4ac5b86a9fb6825bc5846cee6eb2001c2387e845c59fef/8a" data-source="--no-merged[=&amp;lt;object&amp;gt;]" onmousemove="i18n(this)">--no-merged[=&lt;object&gt;]</span></dt> <dd> <p><span data-i18n="30a5409a7e2d0b654058c6ea3d38c243c528bda9568a9d734c17f64d849f0269/a4" data-source="Only list refs whose tips are not reachable from the specified commit (HEAD if not specified)." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&icy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &scy;&ocy;&vcy;&iecy;&tcy;&ycy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&iecy;&dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &icy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; (HEAD, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---containsltobjectgt"><span data-i18n="845214392721c1fa26b9781e05846f2f7bdaffdf98342d943270e55a468c5385/cf" data-source="--contains[=&amp;lt;object&amp;gt;]" onmousemove="i18n(this)">--contains[=&lt;object&gt;]</span></dt> <dd> <p><span data-i18n="06c0c399d358c78d949109b079a54cbca0ff66e381042ad53ea60980f4a8b9d5/d5" data-source="Only list refs which contain the specified commit (HEAD if not specified)." onmousemove="i18n(this)">&Scy;&pcy;&icy;&scy;&ocy;&kcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; (HEAD, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---no-containsltobjectgt"><span data-i18n="193bb67d5a77b63cffcb24d5f11f0110917b157b35cfd7c42a068ba17ebc3d0e/80" data-source="--no-contains[=&amp;lt;object&amp;gt;]" onmousemove="i18n(this)">--no-contains[=&lt;object&gt;]</span></dt> <dd> <p><span data-i18n="2c20086e861aded3646ecaebcd78d4abaf860f70fb49af1f5a80c888e88a2f9f/f6" data-source="Only list refs which don&amp;rsquo;t contain the specified commit (HEAD if not specified)." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&icy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; (HEAD, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---ignore-case"><span data-i18n="ccf59011f99e2410e907da4cb66c446fb242ebb53c5e413dda8c04684274082f/a6" data-source="--ignore-case" onmousemove="i18n(this)">--ignore-case</span></dt> <dd> <p><span data-i18n="820e7f2ae555dfb27589d20f644965e26988659cc7b835ddf06c897cd86a6a8a/42" data-source="Sorting and filtering refs are case insensitive." onmousemove="i18n(this)">&Scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy; &icy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&acy;&tscy;&icy;&yacy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &ncy;&iecy;&chcy;&ucy;&vcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy; &kcy; &rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&ucy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---omit-empty"><span data-i18n="4943400a739e25bfd3d947854437cae15e6f95149391b5ef7351bad8c0beac2e/5d" data-source="--omit-empty" onmousemove="i18n(this)">--omit-empty</span></dt> <dd> <p><span data-i18n="92da6a2ba6379b5a84e2d191a865a3a3c1b91974fa62120fcf1edb942e340206/d2" data-source="Do not print a newline after formatted refs where the format expands to the empty string." onmousemove="i18n(this)">&Ncy;&iecy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &gcy;&dcy;&iecy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&yacy;&iecy;&tcy;&scy;&yacy; &dcy;&ocy; &pcy;&ucy;&scy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt---excludeltpatterngt"><span data-i18n="7d834caccba2719c55989ed6a800e2113404176367f0d3ce9fc1a8960862bdb9/f5" data-source="--exclude=&amp;lt;pattern&amp;gt;" onmousemove="i18n(this)">--exclude=&lt;pattern&gt;</span></dt> <dd> <p><span data-i18n="a58a9db719a032b6fb23d3dc6c3985bafc57261b1d4480c7f853a6192301190e/3e" data-source="If one or more patterns are given, only refs which do not match any excluded pattern(s) are shown. Matching is done using the same rules as &lt;code&gt;&amp;lt;pattern&amp;gt;&lt;/code&gt; above." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &ocy;&dcy;&icy;&ncy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ocy;&vcy;, &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &ncy;&icy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy;(&acy;&mcy;). &Scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy; &tcy;&iecy;&mcy; &zhcy;&iecy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy;&mcy;, &chcy;&tcy;&ocy; &icy;  <code>&lt;pattern&gt;</code> , &ocy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &vcy;&ycy;&shcy;&iecy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_field_names"><span data-i18n="bb6250d7b8b0e0f5b721a5ed55f4dbbec501349491aa99e0964218dddcf3b523/23" data-source="Field names" onmousemove="i18n(this)">Field names</span></h2> <div> <p><span data-i18n="bf5e5adf7b9d048cfe655929babd4b31fbe78ccd4f331f88e83f514c32fe1c1a/a2" data-source="Various values from structured fields in referenced objects can be used to interpolate into the resulting output, or as sort keys." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &icy;&zcy; &scy;&tcy;&rcy;&ucy;&kcy;&tcy;&ucy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &pcy;&ocy;&lcy;&iecy;&jcy; &vcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;&khcy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&yucy;&tcy;&scy;&yacy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&ocy;&lcy;&yacy;&tscy;&icy;&icy; &vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&icy;&rcy;&ucy;&yucy;&shchcy;&icy;&jcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &icy;&lcy;&icy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &kcy;&lcy;&yucy;&chcy;&iecy;&jcy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy;.</span></p> <p><span data-i18n="24486988b988933ae8d67a5ffa8f9ec6790ea44d23346244a1b43eb098450181/9c" data-source="For all objects, the following names can be used:" onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &icy;&mcy;&iecy;&ncy;&acy;:</span></p> <div> <dl> <dt id="Documentation/git-for-each-ref.txt-refname"><span data-i18n="372c09332fbc0d6851aef53bcffe5265ebb6ca9f1e7d51c516298ef3a6831903/d0" data-source="refname" onmousemove="i18n(this)">refname</span></dt> <dd> <p><span data-i18n="c69bf5393a7015ec73c7a3d825ae50afff57273c485809c419b1ae54be89d366/bb" data-source="The name of the ref (the part after $GIT_DIR/). For a non-ambiguous short name of the ref append &lt;code&gt;:short&lt;/code&gt;. The option core.warnAmbiguousRefs is used to select the strict abbreviation mode. If &lt;code&gt;lstrip=&amp;lt;N&amp;gt;&lt;/code&gt; (&lt;code&gt;rstrip=&amp;lt;N&amp;gt;&lt;/code&gt;) is appended, strips &lt;code&gt;&amp;lt;N&amp;gt;&lt;/code&gt; slash-separated path components from the front (back) of the refname (e.g. &lt;code&gt;%(refname:lstrip=2)&lt;/code&gt; turns &lt;code&gt;refs/tags/foo&lt;/code&gt; into &lt;code&gt;foo&lt;/code&gt; and &lt;code&gt;%(refname:rstrip=2)&lt;/code&gt; turns &lt;code&gt;refs/tags/foo&lt;/code&gt; into &lt;code&gt;refs&lt;/code&gt;). If &lt;code&gt;&amp;lt;N&amp;gt;&lt;/code&gt; is a negative number, strip as many path components as necessary from the specified end to leave &lt;code&gt;-&amp;lt;N&amp;gt;&lt;/code&gt; path components (e.g. &lt;code&gt;%(refname:lstrip=-2)&lt;/code&gt; turns &lt;code&gt;refs/tags/foo&lt;/code&gt; into &lt;code&gt;tags/foo&lt;/code&gt; and &lt;code&gt;%(refname:rstrip=-1)&lt;/code&gt; turns &lt;code&gt;refs/tags/foo&lt;/code&gt; into &lt;code&gt;refs&lt;/code&gt;). When the ref does not have enough components, the result becomes an empty string if stripping with positive &amp;lt;N&amp;gt;, or it becomes the full refname if stripping with negative &amp;lt;N&amp;gt;. Neither is an error." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy; (&chcy;&acy;&scy;&tcy;&softcy; &pcy;&ocy;&scy;&lcy;&iecy; $GIT_DIR/). &Dcy;&lcy;&yacy; &ocy;&dcy;&ncy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&rcy;&ocy;&tcy;&kcy;&ocy;&gcy;&ocy; &icy;&mcy;&iecy;&ncy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy;  <code>:short</code>  . &Ocy;&pcy;&tscy;&icy;&yacy; core.warnAmbigousRefs &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &vcy;&ycy;&bcy;&ocy;&rcy;&acy; &scy;&tcy;&rcy;&ocy;&gcy;&ocy;&gcy;&ocy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&jcy;. &IEcy;&scy;&lcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  <code>lstrip=&lt;N&gt;</code>  (  <code>rstrip=&lt;N&gt;</code>  ), &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy;&ycy; &pcy;&ucy;&tcy;&icy;  <code>&lt;N&gt;</code> , &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ocy;&jcy;, &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &icy;&zcy; &pcy;&iecy;&rcy;&iecy;&dcy;&ncy;&iecy;&jcy; (&zcy;&acy;&dcy;&ncy;&iecy;&jcy;) &chcy;&acy;&scy;&tcy;&icy; &icy;&mcy;&iecy;&ncy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&icy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>%(refname:lstrip=2)</code>  &pcy;&rcy;&iecy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;  <code>refs/tags/foo</code>  &vcy;  <code>foo</code> , &acy;  <code>%(refname:rstrip=2)</code>  &pcy;&rcy;&iecy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;  <code>refs/tags/foo</code>  &vcy;  <code>refs</code> ). &IEcy;&scy;&lcy;&icy;  <code>&lt;N&gt;</code>  &mdash; &ocy;&tcy;&rcy;&icy;&tscy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy; &chcy;&icy;&scy;&lcy;&ocy;, &ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy;&ocy;&vcy; &pcy;&ucy;&tcy;&icy; &scy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&ncy;&tscy;&acy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy; &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy;&ycy; &pcy;&ucy;&tcy;&icy;  <code>-&lt;N&gt;</code>  (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>%(refname:lstrip=-2)</code>  &pcy;&rcy;&iecy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;  <code>refs/tags/foo</code>  &vcy;  <code>tags/foo</code> , &acy;  <code>%(refname:rstrip=-1)</code>  &pcy;&rcy;&iecy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;  <code>refs/tags/foo</code>  &vcy;  <code>refs</code> ). &IEcy;&scy;&lcy;&icy; &vcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy; &ncy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&tcy;&ocy;&chcy;&ncy;&ocy; &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy;&ocy;&vcy;, &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&mcy; &scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &pcy;&rcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&icy; &scy; &pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy; &lt;N&gt; &icy;&lcy;&icy; &pcy;&ocy;&lcy;&ncy;&ocy;&iecy; &icy;&mcy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &pcy;&rcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&icy; &scy; &ocy;&tcy;&rcy;&icy;&tscy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy; &lt;N&gt;. &Icy; &tcy;&ocy; &icy; &dcy;&rcy;&ucy;&gcy;&ocy;&iecy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&ocy;&jcy;.</span></p> <p><span data-i18n="4a1680c265daac34caef8cc22815a2a085eec03c492bc0520f5fe049f843f0f5/c5" data-source="&lt;code&gt;strip&lt;/code&gt; can be used as a synonym to &lt;code&gt;lstrip&lt;/code&gt;." onmousemove="i18n(this)"><code>strip</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &kcy;&acy;&kcy; &scy;&icy;&ncy;&ocy;&ncy;&icy;&mcy;  <code>lstrip</code> .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-objecttype"><span data-i18n="74ad9b4c9777d67d3b37c269cb823fe68bc7e33a9eebc9fbccafeaafca4dc3fe/6d" data-source="objecttype" onmousemove="i18n(this)">objecttype</span></dt> <dd> <p><span data-i18n="280379410e73e05c347264aa90a3216adfd0e777ebd2d1146bd137761b2ec190/a9" data-source="The type of the object (&lt;code&gt;blob&lt;/code&gt;, &lt;code&gt;tree&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt;, &lt;code&gt;tag&lt;/code&gt;)." onmousemove="i18n(this)">&Tcy;&icy;&pcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; ( <code>blob</code> ,  <code>tree</code> ,  <code>commit</code> ,  <code>tag</code> ).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-objectsize"><span data-i18n="423cad1511d461c2694808233526a2333dc05b43f16de7f2470417fcdb67b868/b7" data-source="objectsize" onmousemove="i18n(this)">objectsize</span></dt> <dd> <p><span data-i18n="90babc15436e24228f12082a0ac35837ed139e3a77edd8f32c244c0802a119aa/5a" data-source="The size of the object (the same as &lt;code&gt;git cat-file -s&lt;/code&gt; reports). Append &lt;code&gt;:disk&lt;/code&gt; to get the size, in bytes, that the object takes up on disk. See the note about on-disk sizes in the &lt;code&gt;CAVEATS&lt;/code&gt; section below." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&mcy;&iecy;&rcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; (&tcy;&acy;&kcy;&ocy;&jcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;  <code>git cat-file -s</code> ). &Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy;  <code>:disk</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &vcy; &bcy;&acy;&jcy;&tcy;&acy;&khcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &zcy;&acy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy;. &Scy;&mcy;. &pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&iecy; &ocy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&acy;&khcy; &dcy;&icy;&scy;&kcy;&acy; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <code>CAVEATS</code>  &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-objectname"><span data-i18n="c999dac78c2384a893dfd2bdc15c88d0620f923e24bfdd0ef39a881a059a88c2/21" data-source="objectname" onmousemove="i18n(this)">objectname</span></dt> <dd> <p><span data-i18n="eaf446684e386428132ca342238ec589419694427a9f4aa34deb3054eade2688/58" data-source="The object name (aka SHA-1). For a non-ambiguous abbreviation of the object name append &lt;code&gt;:short&lt;/code&gt;. For an abbreviation of the object name with desired length append &lt;code&gt;:short=&amp;lt;length&amp;gt;&lt;/code&gt;, where the minimum length is MINIMUM_ABBREV. The length may be exceeded to ensure unique object names." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; (&tcy;&acy;&kcy;&zhcy;&iecy; &icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ocy;&iecy; &kcy;&acy;&kcy; SHA-1). &Dcy;&lcy;&yacy; &ocy;&dcy;&ncy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&ocy;&gcy;&ocy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&ncy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy;  <code>:short</code>  . &Dcy;&lcy;&yacy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&ncy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &zhcy;&iecy;&lcy;&acy;&iecy;&mcy;&ocy;&jcy; &dcy;&lcy;&icy;&ncy;&ycy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy;  <code>:short=&lt;length&gt;</code>  , &gcy;&dcy;&iecy; &mcy;&icy;&ncy;&icy;&mcy;&acy;&lcy;&softcy;&ncy;&acy;&yacy; &dcy;&lcy;&icy;&ncy;&acy; &mdash; MINIMUM_ABBREV. &Dcy;&lcy;&icy;&ncy;&acy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&rcy;&iecy;&vcy;&ycy;&shcy;&iecy;&ncy;&acy; &dcy;&lcy;&yacy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &ucy;&ncy;&icy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&icy; &icy;&mcy;&iecy;&ncy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-deltabase"><span data-i18n="9fc26a8ec6f44c6c6e7e0904d95d119a8eabff14f81f50db9bbb107e06b1b208/c6" data-source="deltabase" onmousemove="i18n(this)">deltabase</span></dt> <dd> <p><span data-i18n="265404089e7a384d3da25ec5558e8a7a434f2519738ea32ccbbaef27520a1d8e/34" data-source="This expands to the object name of the delta base for the given object, if it is stored as a delta. Otherwise it expands to the null object name (all zeroes)." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&yacy;&iecy;&tcy;&scy;&yacy; &dcy;&ocy; &icy;&mcy;&iecy;&ncy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &dcy;&iecy;&lcy;&softcy;&tcy;&acy;-&bcy;&acy;&zcy;&ycy; &dcy;&lcy;&yacy; &dcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &khcy;&rcy;&acy;&ncy;&icy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &dcy;&iecy;&lcy;&softcy;&tcy;&acy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ocy;&ncy;&ocy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&yacy;&iecy;&tcy;&scy;&yacy; &dcy;&ocy; &icy;&mcy;&iecy;&ncy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;  null  (&vcy;&scy;&iecy; &ncy;&ucy;&lcy;&icy;).</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-upstream"><span data-i18n="1581e27de87bffae0bd4d745cd7964e68528d7a83e2e4c259a782d275df6f558/65" data-source="upstream" onmousemove="i18n(this)">upstream</span></dt> <dd> <p><span data-i18n="b10b3a4f3ec0bef99b1bb76b811bd9ef23af77eee8bace92c613d33b02d1bfc5/9b" data-source="The name of a local ref which can be considered &amp;ldquo;upstream&amp;rdquo; from the displayed ref. Respects &lt;code&gt;:short&lt;/code&gt;, &lt;code&gt;:lstrip&lt;/code&gt; and &lt;code&gt;:rstrip&lt;/code&gt; in the same way as &lt;code&gt;refname&lt;/code&gt; above. Additionally respects &lt;code&gt;:track&lt;/code&gt; to show &amp;quot;[ahead N, behind M]&amp;quot; and &lt;code&gt;:trackshort&lt;/code&gt; to show the terse version: &amp;quot;&amp;gt;&amp;quot; (ahead), &amp;quot;&amp;lt;&amp;quot; (behind), &amp;quot;&amp;lt;&amp;gt;&amp;quot; (ahead and behind), or &amp;quot;=&amp;quot; (in sync). &lt;code&gt;:track&lt;/code&gt; also prints &amp;quot;[gone]&amp;quot; whenever unknown upstream ref is encountered. Append &lt;code&gt;:track,nobracket&lt;/code&gt; to show tracking information without brackets (i.e &amp;quot;ahead N, behind M&amp;quot;)." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &scy;&chcy;&icy;&tcy;&acy;&tcy;&softcy; &laquo;&vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&jcy;&raquo; &pcy;&ocy; &ocy;&tcy;&ncy;&ocy;&shcy;&iecy;&ncy;&icy;&yucy; &kcy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&mcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy;. &Ucy;&vcy;&acy;&zhcy;&acy;&iecy;&tcy;  <code>:short</code>  ,  <code>:lstrip</code>  &icy;  <code>:rstrip</code>  &tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy;  <code>refname</code>  &vcy;&ycy;&shcy;&iecy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>:track</code>  &dcy;&lcy;&yacy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy;  &quot;[ahead N, behind M]&quot;  &icy;  <code>:trackshort</code>  &dcy;&lcy;&yacy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy; &kcy;&rcy;&acy;&tcy;&kcy;&ocy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy;:  &quot;&gt;&quot;  (&vcy;&pcy;&iecy;&rcy;&iecy;&dcy;&icy;),  &quot;&lt;&quot;  (&scy;&zcy;&acy;&dcy;&icy;),  &quot;&lt;&gt;&quot;  (&vcy;&pcy;&iecy;&rcy;&iecy;&dcy;&icy; &icy; &scy;&zcy;&acy;&dcy;&icy;) &icy;&lcy;&icy;  &quot;=&quot;  (&scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&ncy;&ocy;).  <code>:track</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&iecy;&tcy;  &quot;[gone]&quot;  &vcy;&scy;&yacy;&kcy;&icy;&jcy; &rcy;&acy;&zcy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&scy;&tcy;&rcy;&iecy;&chcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&acy;&yacy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy;. &Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy;  <code>:track,nobracket</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zcy;&icy;&tcy;&softcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy;&bcy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&icy; &bcy;&iecy;&zcy; &scy;&kcy;&ocy;&bcy;&ocy;&kcy; (&tcy;. &iecy;.  &quot;ahead N, behind M&quot; ).</span></p> <p><span data-i18n="73128bebd7f59e2e91433a38df307911dda86f53a68ce7efeffeb43093051b9d/b2" data-source="For any remote-tracking branch &lt;code&gt;%(upstream)&lt;/code&gt;, &lt;code&gt;%(upstream:remotename)&lt;/code&gt; and &lt;code&gt;%(upstream:remoteref)&lt;/code&gt; refer to the name of the remote and the name of the tracked remote ref, respectively. In other words, the remote-tracking branch can be updated explicitly and individually by using the refspec &lt;code&gt;%(upstream:remoteref):%(upstream)&lt;/code&gt; to fetch from &lt;code&gt;%(upstream:remotename)&lt;/code&gt;." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &lcy;&yucy;&bcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;  <code>%(upstream)</code> ,  <code>%(upstream:remotename)</code>  &icy;  <code>%(upstream:remoteref)</code>  &ocy;&tcy;&ncy;&ocy;&scy;&yacy;&tcy;&scy;&yacy; &kcy; &icy;&mcy;&iecy;&ncy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&scy;&tcy;&rcy;&ocy;&jcy;&scy;&tcy;&vcy;&acy; &icy; &icy;&mcy;&iecy;&ncy;&icy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy;. &Dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &scy;&lcy;&ocy;&vcy;&acy;&mcy;&icy;, &vcy;&iecy;&tcy;&vcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &yacy;&vcy;&ncy;&ocy; &icy; &icy;&ncy;&dcy;&icy;&vcy;&icy;&dcy;&ucy;&acy;&lcy;&softcy;&ncy;&ocy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; refspec  <code>%(upstream:remoteref):%(upstream)</code>  &dcy;&lcy;&yacy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &icy;&zcy;  <code>%(upstream:remotename)</code> .</span></p> <p><span data-i18n="5e142afc25e1f513a06df6e5f3af15b0c0f9d065587aeab15697621cd80e91cc/96" data-source="Has no effect if the ref does not have tracking information associated with it. All the options apart from &lt;code&gt;nobracket&lt;/code&gt; are mutually exclusive, but if used together the last option is selected." onmousemove="i18n(this)">&Ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &ncy;&icy;&kcy;&acy;&kcy;&ocy;&gcy;&ocy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&acy;, &iecy;&scy;&lcy;&icy; &scy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&ocy;&jcy; &ncy;&iecy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&acy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yacy; &ocy;&bcy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&icy;. &Vcy;&scy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;, &kcy;&rcy;&ocy;&mcy;&iecy;  <code>nobracket</code> , &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &vcy;&zcy;&acy;&icy;&mcy;&ocy;&icy;&scy;&kcy;&lcy;&yucy;&chcy;&acy;&yucy;&shchcy;&icy;&mcy;&icy;, &ncy;&ocy; &pcy;&rcy;&icy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&ncy;&ocy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &vcy;&ycy;&bcy;&icy;&rcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-push"><span data-i18n="d107ea3629c326718876f07356a48dea26f123742f8bf44ce75f8f805cf9a37d/4c" data-source="push" onmousemove="i18n(this)">push</span></dt> <dd> <p><span data-i18n="d400caf101bec44c3afab0bee9c7d7e86d49d8d48c01ee456d11dfca05d6a4a6/2d" data-source="The name of a local ref which represents the &lt;code&gt;@{push}&lt;/code&gt; location for the displayed ref. Respects &lt;code&gt;:short&lt;/code&gt;, &lt;code&gt;:lstrip&lt;/code&gt;, &lt;code&gt;:rstrip&lt;/code&gt;, &lt;code&gt;:track&lt;/code&gt;, &lt;code&gt;:trackshort&lt;/code&gt;, &lt;code&gt;:remotename&lt;/code&gt;, and &lt;code&gt;:remoteref&lt;/code&gt; options as &lt;code&gt;upstream&lt;/code&gt; does. Produces an empty string if no &lt;code&gt;@{push}&lt;/code&gt; ref is configured." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &mcy;&iecy;&scy;&tcy;&ocy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&iecy;  <code>@{push}</code>  &dcy;&lcy;&yacy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&mcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;. &Ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&icy;  <code>:short</code> ,  <code>:lstrip</code> ,  <code>:rstrip</code> ,  <code>:track</code> ,  <code>:trackshort</code> ,  <code>:remotename</code>  &icy;  <code>:remoteref</code> , &kcy;&acy;&kcy; &icy;  <code>upstream</code> . &Scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &pcy;&ucy;&scy;&tcy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy;, &iecy;&scy;&lcy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&acy;  <code>@{push}</code>  &ncy;&iecy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-HEAD"><span data-i18n="b5180223165af3583fd0724209986caf2a62692654b74c525027dda592404330/22" data-source="HEAD" onmousemove="i18n(this)">HEAD</span></dt> <dd> <p><span data-i18n="01fa32be94abea6da1caa5635e4f33856cbaf50819239de8b3b4e7ef48452837/dd" data-source="&lt;code&gt;*&lt;/code&gt; if HEAD matches current ref (the checked out branch), &amp;apos; &amp;apos; otherwise." onmousemove="i18n(this)"><code>*</code> , &iecy;&scy;&lcy;&icy; HEAD &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy; (&vcy;&ycy;&dcy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;), &apos; &apos; &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-color"><span data-i18n="74284d9dcbcc09928ca5d7d6187270a62ac1b58ccdc4a44b81e47257ffa53b9e/e4" data-source="color" onmousemove="i18n(this)">color</span></dt> <dd> <p><span data-i18n="bf64f13ee80b4946d6cc168ed6ee75e9a5f56d1dbd7b3cf4b6b5d432ed5d5221/fa" data-source="Change output color. Followed by &lt;code&gt;:&amp;lt;colorname&amp;gt;&lt;/code&gt;, where color names are described under Values in the &amp;quot;CONFIGURATION FILE&amp;quot; section of &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;. For example, &lt;code&gt;%(color:bold red)&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &tscy;&vcy;&iecy;&tcy; &vcy;&ycy;&vcy;&ocy;&dcy;&acy;. &Zcy;&acy; &ncy;&icy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy;  <code>:&lt;colorname&gt;</code> , &gcy;&dcy;&iecy; &ncy;&acy;&zcy;&vcy;&acy;&ncy;&icy;&yacy; &tscy;&vcy;&iecy;&tcy;&ocy;&vcy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ycy; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &laquo;&Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;&raquo; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  &quot;CONFIGURATION FILE&quot;  &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;  <a href="git-config.html">git-config[1]</a> . &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>%(color:bold red)</code> .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-align"><span data-i18n="adcbf60c01c985eef836ce2de49ed2439913c1c1e592066b70f98854a51a5a27/77" data-source="align" onmousemove="i18n(this)">align</span></dt> <dd> <p><span data-i18n="d2445d3b80cbb373740435fcb756cd93a218ee9a1f5b8ac38fa4f51556342165/10" data-source="Left-, middle-, or right-align the content between %(align:&amp;hellip;&amp;ZeroWidthSpace;) and %(end). The &amp;quot;align:&amp;quot; is followed by &lt;code&gt;width=&amp;lt;width&amp;gt;&lt;/code&gt; and &lt;code&gt;position=&amp;lt;position&amp;gt;&lt;/code&gt; in any order separated by a comma, where the &lt;code&gt;&amp;lt;position&amp;gt;&lt;/code&gt; is either left, right or middle, default being left and &lt;code&gt;&amp;lt;width&amp;gt;&lt;/code&gt; is the total length of the content with alignment. For brevity, the &amp;quot;width=&amp;quot; and/or &amp;quot;position=&amp;quot; prefixes may be omitted, and bare &amp;lt;width&amp;gt; and &amp;lt;position&amp;gt; used instead. For instance, &lt;code&gt;%(align:&amp;lt;width&amp;gt;,&amp;lt;position&amp;gt;)&lt;/code&gt;. If the contents length is more than the width then no alignment is performed. If used with &lt;code&gt;--quote&lt;/code&gt; everything in between %(align:&amp;hellip;&amp;ZeroWidthSpace;) and %(end) is quoted, but if nested then only the topmost level performs quoting." onmousemove="i18n(this)">&Vcy;&ycy;&rcy;&ocy;&vcy;&ncy;&yacy;&jcy;&tcy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &pcy;&ocy; &lcy;&iecy;&vcy;&ocy;&mcy;&ucy;, &scy;&rcy;&iecy;&dcy;&ncy;&iecy;&mcy;&ucy; &icy;&lcy;&icy; &pcy;&rcy;&acy;&vcy;&ocy;&mcy;&ucy; &kcy;&rcy;&acy;&yucy; &mcy;&iecy;&zhcy;&dcy;&ucy; %(align:&hellip;&ZeroWidthSpace;) &icy; %(end). &Zcy;&acy;  &quot;align:&quot;  &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&tcy;  <code>width=&lt;width&gt;</code>  &icy;  <code>position=&lt;position&gt;</code>  &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy;, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &zcy;&acy;&pcy;&yacy;&tcy;&ocy;&jcy;, &gcy;&dcy;&iecy;  <code>&lt;position&gt;</code>  &mdash; &lcy;&iecy;&vcy;&ycy;&jcy;, &pcy;&rcy;&acy;&vcy;&ycy;&jcy; &icy;&lcy;&icy; &scy;&rcy;&iecy;&dcy;&ncy;&icy;&jcy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; &lcy;&iecy;&vcy;&ycy;&jcy;, &acy;  <code>&lt;width&gt;</code>  &mdash; &ocy;&bcy;&shchcy;&acy;&yacy; &dcy;&lcy;&icy;&ncy;&acy; &kcy;&ocy;&ncy;&tcy;&iecy;&ncy;&tcy;&acy; &scy; &vcy;&ycy;&rcy;&acy;&vcy;&ncy;&icy;&vcy;&acy;&ncy;&icy;&iecy;&mcy;. &Dcy;&lcy;&yacy; &kcy;&rcy;&acy;&tcy;&kcy;&ocy;&scy;&tcy;&icy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&ycy;  &quot;width=&quot;  &icy;/&icy;&lcy;&icy;  &quot;position=&quot;  &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ncy;&icy;&khcy; &gcy;&ocy;&lcy;&ycy;&iecy; &lt;width&gt; &icy; &lt;position&gt;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>%(align:&lt;width&gt;,&lt;position&gt;)</code> . &IEcy;&scy;&lcy;&icy; &dcy;&lcy;&icy;&ncy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&gcy;&ocy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &shcy;&icy;&rcy;&icy;&ncy;&ycy;, &vcy;&ycy;&rcy;&acy;&vcy;&ncy;&icy;&vcy;&acy;&ncy;&icy;&iecy; &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &scy;  <code>--quote</code>  &vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &mcy;&iecy;&zhcy;&dcy;&ucy; %(align:&hellip;&ZeroWidthSpace;) &icy; %(end), &tscy;&icy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;, &ncy;&ocy; &iecy;&scy;&lcy;&icy; &ocy;&ncy;&ocy; &vcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ocy;&iecy;, &tcy;&ocy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ncy;&acy; &scy;&acy;&mcy;&ocy;&mcy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&mcy; &ucy;&rcy;&ocy;&vcy;&ncy;&iecy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-if"><span data-i18n="935f68319d4f227e02bfd54a0ddf85b8a242e42a4277aa5ef5eaab691710924e/ec" data-source="if" onmousemove="i18n(this)">if</span></dt> <dd> <p><span data-i18n="8656630777cd777a00b9a426f37c2c3020fafa9d3ebbbcecc25067e0a0600ba2/d1" data-source="Used as %(if)&amp;hellip;&amp;ZeroWidthSpace;%(then)&amp;hellip;&amp;ZeroWidthSpace;%(end) or %(if)&amp;hellip;&amp;ZeroWidthSpace;%(then)&amp;hellip;&amp;ZeroWidthSpace;%(else)&amp;hellip;&amp;ZeroWidthSpace;%(end). If there is an atom with value or string literal after the %(if) then everything after the %(then) is printed, else if the %(else) atom is used, then everything after %(else) is printed. We ignore space when evaluating the string before %(then), this is useful when we use the %(HEAD) atom which prints either &amp;quot;*&amp;quot; or &amp;quot; &amp;quot; and we want to apply the &lt;code&gt;if&lt;/code&gt; condition only on the &lt;code&gt;HEAD&lt;/code&gt; ref. Append &amp;quot;:equals=&amp;lt;string&amp;gt;&amp;quot; or &amp;quot;:notequals=&amp;lt;string&amp;gt;&amp;quot; to compare the value between the %(if:&amp;hellip;&amp;ZeroWidthSpace;) and %(then) atoms with the given string." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; %(if)&hellip;&ZeroWidthSpace;%(then)&hellip;&ZeroWidthSpace;%(end) &icy;&lcy;&icy; %(if)&hellip;&ZeroWidthSpace;%(then)&hellip;&ZeroWidthSpace;%(else)&hellip;&ZeroWidthSpace;%(end). &IEcy;&scy;&lcy;&icy; &pcy;&ocy;&scy;&lcy;&iecy; %(if) &iecy;&scy;&tcy;&softcy; &acy;&tcy;&ocy;&mcy; &scy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &icy;&lcy;&icy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&vcy;&ycy;&mcy; &lcy;&icy;&tcy;&iecy;&rcy;&acy;&lcy;&ocy;&mcy;, &tcy;&ocy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&scy;&iocy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; %(then), &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &acy;&tcy;&ocy;&mcy; %(else), &tcy;&ocy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&scy;&iocy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; %(else). &Mcy;&ycy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&mcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy; &pcy;&rcy;&icy; &ocy;&tscy;&iecy;&ncy;&kcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy; %(then), &ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &kcy;&ocy;&gcy;&dcy;&acy; &mcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy; &acy;&tcy;&ocy;&mcy; %(HEAD), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&iecy;&tcy; &lcy;&icy;&bcy;&ocy;  &quot;*&quot; , &lcy;&icy;&bcy;&ocy;  &quot; &quot; , &icy; &mcy;&ycy; &khcy;&ocy;&tcy;&icy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &ucy;&scy;&lcy;&ocy;&vcy;&icy;&iecy;  <code>if</code>  &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy;  <code>HEAD</code> . &Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy;  &quot;:equals=&lt;string&gt;&quot;  &icy;&lcy;&icy;  &quot;:notequals=&lt;string&gt;&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&rcy;&acy;&vcy;&ncy;&icy;&tcy;&softcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &acy;&tcy;&ocy;&mcy;&ocy;&vcy; %(if:&hellip;&ZeroWidthSpace;) &icy; %(then) &scy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&jcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-symref"><span data-i18n="a889c8d52256b46de14db386292db62dfb297d851ff6030c2a8e3d3c2111a890/3b" data-source="symref" onmousemove="i18n(this)">symref</span></dt> <dd> <p><span data-i18n="e7a68c293e2251cd5e40e072ee93fa476d404bb54acc47c61cfd76d9a35dfaeb/9f" data-source="The ref which the given symbolic ref refers to. If not a symbolic ref, nothing is printed. Respects the &lt;code&gt;:short&lt;/code&gt;, &lt;code&gt;:lstrip&lt;/code&gt; and &lt;code&gt;:rstrip&lt;/code&gt; options in the same way as &lt;code&gt;refname&lt;/code&gt; above." onmousemove="i18n(this)">&Scy;&scy;&ycy;&lcy;&kcy;&acy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &dcy;&acy;&ncy;&ncy;&acy;&yacy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy;. &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &ncy;&iecy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy;, &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&iecy;&tcy;&scy;&yacy;. &Ucy;&vcy;&acy;&zhcy;&acy;&iecy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;  <code>:short</code> ,  <code>:lstrip</code>  &icy;  <code>:rstrip</code>  &tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy;  <code>refname</code>  &vcy;&ycy;&shcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signature"><span data-i18n="1a2fc26dc7ea5a2a4748b7cb2b1ef193d96ab2c99f93092f69e63075b28d1278/04" data-source="signature" onmousemove="i18n(this)">signature</span></dt> <dd> <p><span data-i18n="ef161f5cd6e7ce0ffb401cbdd16bcbf34bcd7657f50fa97aceda1c29d5210553/4e" data-source="The GPG signature of a commit." onmousemove="i18n(this)">GPG-&pcy;&ocy;&dcy;&pcy;&icy;&scy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signaturegrade"><span data-i18n="60d54b1fa1b52c8bd24551e87da560f98c8367501cd4f2d6df29131c8a35b3f7/98" data-source="signature:grade" onmousemove="i18n(this)">signature:grade</span></dt> <dd> <p><span data-i18n="d744036b36c331bd9ca3a6d3ca285e9f0e73f3fcec923f6babf3c98f5488e885/96" data-source="Show &amp;quot;G&amp;quot; for a good (valid) signature, &amp;quot;B&amp;quot; for a bad signature, &amp;quot;U&amp;quot; for a good signature with unknown validity, &amp;quot;X&amp;quot; for a good signature that has expired, &amp;quot;Y&amp;quot; for a good signature made by an expired key, &amp;quot;R&amp;quot; for a good signature made by a revoked key, &amp;quot;E&amp;quot; if the signature cannot be checked (e.g. missing key) and &amp;quot;N&amp;quot; for no signature." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy;  &quot;G&quot;  &dcy;&lcy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&iecy;&jcy; (&dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy;) &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy;,  &quot;B&quot;  &dcy;&lcy;&yacy; &pcy;&lcy;&ocy;&khcy;&ocy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy;,  &quot;U&quot;  &dcy;&lcy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&iecy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy; &scy; &ncy;&iecy;&icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ocy;&jcy; &dcy;&ocy;&scy;&tcy;&ocy;&vcy;&iecy;&rcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy;,  &quot;X&quot;  &dcy;&lcy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&iecy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy;, &scy;&rcy;&ocy;&kcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &icy;&scy;&tcy;&iecy;&kcy;,  &quot;Y&quot;  &dcy;&lcy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&iecy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy;, &scy;&dcy;&iecy;&lcy;&acy;&ncy;&ncy;&ocy;&jcy; &kcy;&lcy;&yucy;&chcy;&ocy;&mcy; &scy; &icy;&scy;&tcy;&iecy;&kcy;&shcy;&icy;&mcy; &scy;&rcy;&ocy;&kcy;&ocy;&mcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy;,  &quot;R&quot;  &dcy;&lcy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&iecy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy;. &scy;&dcy;&iecy;&lcy;&acy;&ncy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&tcy;&ocy;&zcy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&yucy;&chcy;&acy;,  &quot;E&quot; , &iecy;&scy;&lcy;&icy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&softcy; &ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &kcy;&lcy;&yucy;&chcy;), &icy;  &quot;N&quot; , &iecy;&scy;&lcy;&icy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&softcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signaturesigner"><span data-i18n="c276678a1a681f155f3eefae824ed566b033d111a1b7a1441dd358b121a7e105/aa" data-source="signature:signer" onmousemove="i18n(this)">signature:signer</span></dt> <dd> <p><span data-i18n="1de26472264d83e8fb1edaa64d1374fe52a7fcb47f1795a9bf0ea0761ac78c88/bf" data-source="The signer of the GPG signature of a commit." onmousemove="i18n(this)">&Pcy;&ocy;&dcy;&pcy;&icy;&scy;&acy;&vcy;&shcy;&icy;&jcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&softcy; GPG &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signaturekey"><span data-i18n="86fe4cb38330c14d6749548aff1f98535e2741e10955bad69830a8ab5d879046/01" data-source="signature:key" onmousemove="i18n(this)">signature:key</span></dt> <dd> <p><span data-i18n="c593ac8a7a9dcc192166c78b7b8cf992b46e4f3a2a619a876962f1ca79d16e0e/f4" data-source="The key of the GPG signature of a commit." onmousemove="i18n(this)">&Kcy;&lcy;&yucy;&chcy; GPG-&pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signaturefingerprint"><span data-i18n="69e77c1dec3447bf82ae422f0bcd71ecb5a2d7bd8685f0858a7ab753503eb4dd/1f" data-source="signature:fingerprint" onmousemove="i18n(this)">signature:fingerprint</span></dt> <dd> <p><span data-i18n="8431f62d36d9a269b7dca91d2129e1ba3c84c27b2a86b16d8f1abf2adea184ff/60" data-source="The fingerprint of the GPG signature of a commit." onmousemove="i18n(this)">&Ocy;&tcy;&pcy;&iecy;&chcy;&acy;&tcy;&ocy;&kcy; GPG-&pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signatureprimarykeyfingerprint"><span data-i18n="8e2da687d0734dfd27a32cb686b82357705c88c02fa9eb2477b2ba5a417d06c2/f3" data-source="signature:primarykeyfingerprint" onmousemove="i18n(this)">signature:primarykeyfingerprint</span></dt> <dd> <p><span data-i18n="3fc83b67dd75700198ae6fb05ac1cdf8b27487b2ca271c6803430134e71ba3b9/e1" data-source="The primary key fingerprint of the GPG signature of a commit." onmousemove="i18n(this)">&Ocy;&tcy;&pcy;&iecy;&chcy;&acy;&tcy;&ocy;&kcy; &pcy;&iecy;&rcy;&vcy;&icy;&chcy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&yucy;&chcy;&acy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy; GPG &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-signaturetrustlevel"><span data-i18n="90f2b1cbb2d7ce11b1f39974fdc4b095d179eda72b5fb83433a8280ceb61f2c7/b7" data-source="signature:trustlevel" onmousemove="i18n(this)">signature:trustlevel</span></dt> <dd> <p><span data-i18n="b484da49cae209c710dfd434a5659fdba48c9033dd6569dda6cecb775762fafb/ce" data-source="The trust level of the GPG signature of a commit. Possible outputs are &lt;code&gt;ultimate&lt;/code&gt;, &lt;code&gt;fully&lt;/code&gt;, &lt;code&gt;marginal&lt;/code&gt;, &lt;code&gt;never&lt;/code&gt; and &lt;code&gt;undefined&lt;/code&gt;." onmousemove="i18n(this)">&Ucy;&rcy;&ocy;&vcy;&iecy;&ncy;&softcy; &dcy;&ocy;&vcy;&iecy;&rcy;&icy;&yacy; GPG-&pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ycy;&iecy; &vcy;&ycy;&khcy;&ocy;&dcy;&ycy;:  <code>ultimate</code> ,  <code>fully</code> ,  <code>marginal</code> ,  <code>never</code>  &icy;  <code>undefined</code> .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-worktreepath"><span data-i18n="52e3b93aad82405c9d8a0dfeaefe8da25a2381b2e1ca06ee9b95fadec9f1ab4c/ac" data-source="worktreepath" onmousemove="i18n(this)">worktreepath</span></dt> <dd> <p><span data-i18n="6129fe815446fbe38377d3cd874f5b934ed6b1a525a194b0cd18a435321cee8f/9c" data-source="The absolute path to the worktree in which the ref is checked out, if it is checked out in any linked worktree. Empty string otherwise." onmousemove="i18n(this)">&Acy;&bcy;&scy;&ocy;&lcy;&yucy;&tcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy; &kcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy;&ucy; &dcy;&iecy;&rcy;&iecy;&vcy;&ucy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&iecy;&tcy;&scy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&acy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-ahead-behindltcommittishgt"><span data-i18n="43e7ad5560bd7664f92491d50b0c26d666c8bb6ebad53a287e4533b1136160ba/ad" data-source="ahead-behind:&amp;lt;committish&amp;gt;" onmousemove="i18n(this)">ahead-behind:&lt;committish&gt;</span></dt> <dd> <p><span data-i18n="a1c2015d670b58d7b6c435088e0ab07e582e6e27c8704ce74af161e48afe26c8/f7" data-source="Two integers, separated by a space, demonstrating the number of commits ahead and behind, respectively, when comparing the output ref to the &lt;code&gt;&amp;lt;committish&amp;gt;&lt;/code&gt; specified in the format." onmousemove="i18n(this)">&Dcy;&vcy;&acy; &tscy;&iecy;&lcy;&ycy;&khcy; &chcy;&icy;&scy;&lcy;&acy;, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&mcy;, &dcy;&iecy;&mcy;&ocy;&ncy;&scy;&tcy;&rcy;&icy;&rcy;&ucy;&yucy;&shchcy;&icy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;&icy; &icy; &pcy;&ocy;&zcy;&acy;&dcy;&icy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &pcy;&rcy;&icy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&icy; &vcy;&ycy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &scy;  <code>&lt;committish&gt;</code> , &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy; &vcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-describeoptions"><span data-i18n="f925c4eee4b2fd201dfefa20666768bba26a2ce237154862fa1453e16451c5a3/66" data-source="describe[:options]" onmousemove="i18n(this)">describe[:options]</span></dt> <dd> <p><span data-i18n="f7f92b3e22e461f6b4c2dc5f1a08145400f9e42493de40286b226c7f7d7901c7/09" data-source="A human-readable name, like &lt;a href=&quot;git-describe&quot;&gt;git-describe[1]&lt;/a&gt;; empty string for undescribable commits. The &lt;code&gt;describe&lt;/code&gt; string may be followed by a colon and one or more comma-separated options." onmousemove="i18n(this)">&Ucy;&dcy;&ocy;&bcy;&ocy;&chcy;&icy;&tcy;&acy;&iecy;&mcy;&ocy;&iecy; &icy;&mcy;&yacy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <a href="git-describe.html">git-describe[1]</a>  ; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &dcy;&lcy;&yacy; &ncy;&iecy;&ocy;&pcy;&icy;&scy;&ucy;&iecy;&mcy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &Zcy;&acy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&jcy;  <code>describe</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy; &icy; &ocy;&dcy;&icy;&ncy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&vcy;, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &zcy;&acy;&pcy;&yacy;&tcy;&ycy;&mcy;&icy;.</span></p> <div> <div> <div> <dl> <dt id="Documentation/git-for-each-ref.txt-tagsltbool-valuegt"><span data-i18n="7c924e03eebb19ce1d9553f486a1b05bcafac01736b2549c3eb600caaccfb356/60" data-source="tags=&amp;lt;bool-value&amp;gt;" onmousemove="i18n(this)">tags=&lt;bool-value&gt;</span></dt> <dd> <p><span data-i18n="a6d9075edfaf8697b632c0bad17df932946bc25180c4a8e6d6a96deeedef1c50/70" data-source="Instead of only considering annotated tags, consider lightweight tags as well; see the corresponding option in &lt;a href=&quot;git-describe&quot;&gt;git-describe[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &acy;&ncy;&ncy;&ocy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &tcy;&iecy;&gcy;&icy;, &rcy;&acy;&scy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&tcy;&iecy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&bcy;&lcy;&iecy;&gcy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &tcy;&iecy;&gcy;&icy;; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &vcy;  <a href="git-describe.html">git-describe[1]</a> .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-abbrevltnumbergt"><span data-i18n="6ff7196f2371e1c23c9fd5ce4ac2d28ecd8808deef21fc6b12dbb8ed80a3f6e5/50" data-source="abbrev=&amp;lt;number&amp;gt;" onmousemove="i18n(this)">abbrev=&lt;number&gt;</span></dt> <dd> <p><span data-i18n="1061bb6c695ebca50a23e9a6fdeb6ac4b16339198580f6a1167a8fba5e2c3f29/17" data-source="Use at least &amp;lt;number&amp;gt; hexadecimal digits; see the corresponding option in &lt;a href=&quot;git-describe&quot;&gt;git-describe[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &ncy;&iecy; &mcy;&iecy;&ncy;&iecy;&iecy; &lt;&chcy;&icy;&scy;&lcy;&ocy;&gt; &shcy;&iecy;&scy;&tcy;&ncy;&acy;&dcy;&tscy;&acy;&tcy;&iecy;&rcy;&icy;&chcy;&ncy;&ycy;&khcy; &tscy;&icy;&fcy;&rcy;; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &vcy;  <a href="git-describe.html">git-describe[1]</a> .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-matchltpatterngt"><span data-i18n="609ee1abc9adb854db9672e30cdefc0ece4386f1f044e8838984da644c36cfc6/95" data-source="match=&amp;lt;pattern&amp;gt;" onmousemove="i18n(this)">match=&lt;pattern&gt;</span></dt> <dd> <p><span data-i18n="a7ccadadca1b170090091c6c8db32253679091680e35407d0710842a7144cf4e/99" data-source="Only consider tags matching the given &lt;code&gt;glob(7)&lt;/code&gt; pattern, excluding the &amp;quot;refs/tags/&amp;quot; prefix; see the corresponding option in &lt;a href=&quot;git-describe&quot;&gt;git-describe[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&jcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy;&gcy;&icy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy;  <code>glob(7)</code> , &zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&acy;  &quot;refs/tags/&quot; ; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &vcy;  <a href="git-describe.html">git-describe[1]</a> .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-excludeltpatterngt"><span data-i18n="d74360b25004ce3924192511509ce7d418ed21af47d08a0af6a8cf09e1867bc7/a0" data-source="exclude=&amp;lt;pattern&amp;gt;" onmousemove="i18n(this)">exclude=&lt;pattern&gt;</span></dt> <dd> <p><span data-i18n="618995d82af569b12f74651ab80bdaa762c8a2fec54aa88174084a3517aaa711/f0" data-source="Do not consider tags matching the given &lt;code&gt;glob(7)&lt;/code&gt; pattern, excluding the &amp;quot;refs/tags/&amp;quot; prefix; see the corresponding option in &lt;a href=&quot;git-describe&quot;&gt;git-describe[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Ncy;&iecy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &tcy;&iecy;&gcy;&icy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ucy;  <code>glob(7)</code> , &zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&acy;  &quot;refs/tags/&quot; ; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &vcy;  <a href="git-describe.html">git-describe[1]</a> .</span></p> </dd> </dl> </div> </div> </div> </dd> </dl> </div> <p><span data-i18n="d0c53f6f6e8709c02d12fb32ba00e859f37d3eda1d129cb51fa6ebf9a2a0a71d/6c" data-source="In addition to the above, for commit and tag objects, the header field names (&lt;code&gt;tree&lt;/code&gt;, &lt;code&gt;parent&lt;/code&gt;, &lt;code&gt;object&lt;/code&gt;, &lt;code&gt;type&lt;/code&gt;, and &lt;code&gt;tag&lt;/code&gt;) can be used to specify the value in the header field. Fields &lt;code&gt;tree&lt;/code&gt; and &lt;code&gt;parent&lt;/code&gt; can also be used with modifier &lt;code&gt;:short&lt;/code&gt; and &lt;code&gt;:short=&amp;lt;length&amp;gt;&lt;/code&gt; just like &lt;code&gt;objectname&lt;/code&gt;." onmousemove="i18n(this)">&Vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &vcy;&ycy;&shcy;&iecy;&scy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &dcy;&lcy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy; &tcy;&iecy;&gcy;&acy; &icy;&mcy;&iecy;&ncy;&acy; &pcy;&ocy;&lcy;&iecy;&jcy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&acy; (  <code>tree</code>  ,  <code>parent</code>  ,  <code>object</code>  ,  <code>type</code>  &icy;  <code>tag</code>  ) &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &vcy; &pcy;&ocy;&lcy;&iecy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&acy;. &Pcy;&ocy;&lcy;&yacy;  <code>tree</code>  &icy;  <code>parent</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy; &mcy;&ocy;&dcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&acy;&mcy;&icy;  <code>:short</code>  &icy;  <code>:short=&lt;length&gt;</code> , &kcy;&acy;&kcy; &icy;  <code>objectname</code> .</span></p> <p><span data-i18n="72d9019e0cf157b99d4c05ecd55db89c8d371d1ed0754227f32b8264a7ed956d/f7" data-source="For commit and tag objects, the special &lt;code&gt;creatordate&lt;/code&gt; and &lt;code&gt;creator&lt;/code&gt; fields will correspond to the appropriate date or name-email-date tuple from the &lt;code&gt;committer&lt;/code&gt; or &lt;code&gt;tagger&lt;/code&gt; fields depending on the object type. These are intended for working on a mix of annotated and lightweight tags." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy; &tcy;&iecy;&gcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy;&pcy;&iecy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &pcy;&ocy;&lcy;&yacy;  <code>creatordate</code>  &icy;  <code>creator</code>  &bcy;&ucy;&dcy;&ucy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &dcy;&acy;&tcy;&iecy; &icy;&lcy;&icy; &kcy;&ocy;&rcy;&tcy;&iecy;&zhcy;&ucy; &icy;&mcy;&iecy;&ncy;&icy;-&ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&ycy;-&dcy;&acy;&tcy;&ycy; &icy;&zcy; &pcy;&ocy;&lcy;&iecy;&jcy;  <code>committer</code>  &icy;&lcy;&icy;  <code>tagger</code>  &vcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&tcy; &tcy;&icy;&pcy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;. &Ocy;&ncy;&icy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ycy; &dcy;&lcy;&yacy; &rcy;&acy;&bcy;&ocy;&tcy;&ycy; &scy; &acy;&ncy;&ncy;&ocy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &icy; &ocy;&bcy;&lcy;&iecy;&gcy;&chcy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &tcy;&iecy;&gcy;&acy;&mcy;&icy;.</span></p> <p><span data-i18n="ccd76c996edab356cf64de171b2007c4c7ad3f1a78b283877000d8fad755e308/a0" data-source="Fields that have name-email-date tuple as its value (&lt;code&gt;author&lt;/code&gt;, &lt;code&gt;committer&lt;/code&gt;, and &lt;code&gt;tagger&lt;/code&gt;) can be suffixed with &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;email&lt;/code&gt;, and &lt;code&gt;date&lt;/code&gt; to extract the named component. For email fields (&lt;code&gt;authoremail&lt;/code&gt;, &lt;code&gt;committeremail&lt;/code&gt; and &lt;code&gt;taggeremail&lt;/code&gt;), &lt;code&gt;:trim&lt;/code&gt; can be appended to get the email without angle brackets, and &lt;code&gt;:localpart&lt;/code&gt; to get the part before the &lt;code&gt;@&lt;/code&gt; symbol out of the trimmed email. In addition to these, the &lt;code&gt;:mailmap&lt;/code&gt; option and the corresponding &lt;code&gt;:mailmap,trim&lt;/code&gt; and &lt;code&gt;:mailmap,localpart&lt;/code&gt; can be used (order does not matter) to get values of the name and email according to the .mailmap file or according to the file set in the mailmap.file or mailmap.blob configuration variable (see &lt;a href=&quot;gitmailmap&quot;&gt;gitmailmap[5]&lt;/a&gt;)." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &icy;&mcy;&iecy;&yucy;&tcy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&rcy;&tcy;&iecy;&zhcy; name-email-date (  <code>author</code>  ,  <code>committer</code>  &icy;  <code>tagger</code>  ), &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&mcy;&iecy;&tcy;&softcy; &scy;&ucy;&fcy;&fcy;&icy;&kcy;&scy;&ycy;  <code>name</code>  ,  <code>email</code>  &icy;  <code>date</code>  &dcy;&lcy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy;&acy;. &Dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&iecy;&jcy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&ycy; (  <code>authoremail</code>  ,  <code>committeremail</code>  &icy;  <code>taggeremail</code>  ) &mcy;&ocy;&zhcy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy;  <code>:trim</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&iecy; &pcy;&icy;&scy;&softcy;&mcy;&ocy; &bcy;&iecy;&zcy; &ucy;&gcy;&lcy;&ocy;&vcy;&ycy;&khcy; &scy;&kcy;&ocy;&bcy;&ocy;&kcy;, &icy;  <code>:localpart</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &chcy;&acy;&scy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&dcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ocy;&mcy;  <code>@</code>  &icy;&zcy; &ocy;&bcy;&rcy;&iecy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&icy;&scy;&softcy;&mcy;&acy;. &Vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &ecy;&tcy;&ocy;&mcy;&ucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>:mailmap</code>  &icy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy;  <code>:mailmap,trim</code>  &icy;  <code>:mailmap,localpart</code>  (&pcy;&ocy;&rcy;&yacy;&dcy;&ocy;&kcy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;) &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&jcy; &icy;&mcy;&iecy;&ncy;&icy; &icy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&ycy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy; .mailmap &icy;&lcy;&icy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy;, &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy; &vcy; mailmap.file &icy;&lcy;&icy; mailmap. &Pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; .blob (&scy;&mcy;.  <a href="gitmailmap.html">gitmailmap[5]</a> ).</span></p> <p><span data-i18n="62f9b0c4309ba1b0585d603a1cf595d6089f27a2267410a60eea7edc0622d6b7/a3" data-source="The raw data in an object is &lt;code&gt;raw&lt;/code&gt;." onmousemove="i18n(this)">&Ncy;&iecy;&ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&iecy; &mdash;  <code>raw</code> .</span></p> <div> <dl> <dt id="Documentation/git-for-each-ref.txt-rawsize"><span data-i18n="9bcf73bf0a33e02b6e7fd431ab987dde088ba0b5a2c14ad95ac6a60e9547ac2c/57" data-source="raw:size" onmousemove="i18n(this)">raw:size</span></dt> <dd> <p><span data-i18n="de1bbec8301bdd38a8b3c1bd1eba10976c075e53ca90007acba46c968e59c328/e9" data-source="The raw data size of the object." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&mcy;&iecy;&rcy; &ncy;&iecy;&ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;.</span></p> </dd> </dl> </div> <p><span data-i18n="5174c103fb673497efe90a6e8a282c89ab5d3979612072a085c040d42482594a/66" data-source="Note that &lt;code&gt;--format=%(raw)&lt;/code&gt; can not be used with &lt;code&gt;--python&lt;/code&gt;, &lt;code&gt;--shell&lt;/code&gt;, &lt;code&gt;--tcl&lt;/code&gt;, because such language may not support arbitrary binary data in their string variable type." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy;  <code>--format=%(raw)</code>  &ncy;&iecy;&lcy;&softcy;&zcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;  <code>--python</code> ,  <code>--shell</code> ,  <code>--tcl</code> , &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &tcy;&acy;&kcy;&ocy;&jcy; &yacy;&zcy;&ycy;&kcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ncy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&tcy;&softcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&lcy;&softcy;&ncy;&ycy;&iecy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &tcy;&icy;&pcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&vcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy;.</span></p> <p><span data-i18n="523d8f54a8951b0e2ce2a06cf7dbd11dd3c757d7a1d07c481d4cad416cde75cf/17" data-source="The message in a commit or a tag object is &lt;code&gt;contents&lt;/code&gt;, from which &lt;code&gt;contents:&amp;lt;part&amp;gt;&lt;/code&gt; can be used to extract various parts out of:" onmousemove="i18n(this)">&Scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &vcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy; &icy;&lcy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&iecy; &tcy;&iecy;&gcy;&acy; &mdash;  <code>contents</code> , &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy;  <code>contents:&lt;part&gt;</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&khcy; &chcy;&acy;&scy;&tcy;&iecy;&jcy;:</span></p> <div> <dl> <dt id="Documentation/git-for-each-ref.txt-contentssize"><span data-i18n="2a9984c5ff052576e742e466fe08cb0446d643e439804ffe6b3b79dffc04b797/36" data-source="contents:size" onmousemove="i18n(this)">contents:size</span></dt> <dd> <p><span data-i18n="71c2b2cef5f232d7aba422ac14f5b0865f5d05bb4bbf2f66a4d129baa6092a58/21" data-source="The size in bytes of the commit or tag message." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&mcy;&iecy;&rcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy;&lcy;&icy; &tcy;&iecy;&gcy;&acy; &vcy; &bcy;&acy;&jcy;&tcy;&acy;&khcy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-contentssubject"><span data-i18n="8bc1a436df9637294be79716c1e323675922da4fea848973f3b9b63e3a2471b8/21" data-source="contents:subject" onmousemove="i18n(this)">contents:subject</span></dt> <dd> <p><span data-i18n="4be62ad424323e905efff0fc9370311489a797a9fa12afcb0a936f120b5a19d2/9b" data-source="The first paragraph of the message, which typically is a single line, is taken as the &amp;quot;subject&amp;quot; of the commit or the tag message. Instead of &lt;code&gt;contents:subject&lt;/code&gt;, field &lt;code&gt;subject&lt;/code&gt; can also be used to obtain same results. &lt;code&gt;:sanitize&lt;/code&gt; can be appended to &lt;code&gt;subject&lt;/code&gt; for subject line suitable for filename." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &acy;&bcy;&zcy;&acy;&tscy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &ocy;&dcy;&ncy;&ucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy;, &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy;&scy;&yacy; &zcy;&acy;  &quot;subject&quot;  &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy;&lcy;&icy; &tcy;&iecy;&gcy;&acy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy;  <code>contents:subject</code>  &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &tcy;&iecy;&khcy; &zhcy;&iecy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&ocy;&vcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;  <code>subject</code> .  <code>:sanitize</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy; &kcy;  <code>subject</code>  &dcy;&lcy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &tcy;&iecy;&mcy;&ycy;, &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&jcy; &dcy;&lcy;&yacy; &icy;&mcy;&iecy;&ncy;&icy; &fcy;&acy;&jcy;&lcy;&acy;.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-contentsbody"><span data-i18n="16faa7dac70d0734d418ca19b2f2aaab98645c29b045fd2ab63dd5a16b75a8ce/97" data-source="contents:body" onmousemove="i18n(this)">contents:body</span></dt> <dd> <p><span data-i18n="0c030415ab5bfb16746269d8da9cfdcb725f3876a28e7209000df8e8f90dbb29/b4" data-source="The remainder of the commit or the tag message that follows the &amp;quot;subject&amp;quot;." onmousemove="i18n(this)">&Ocy;&scy;&tcy;&acy;&vcy;&shcy;&acy;&yacy;&scy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy;&lcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &tcy;&iecy;&gcy;&acy;, &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&iecy; &zcy;&acy;  &quot;subject&quot; .</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-contentssignature"><span data-i18n="eb78a373bf56f9b033f144f15fd42c22b073d10222dbde69378bf537b69321b3/58" data-source="contents:signature" onmousemove="i18n(this)">contents:signature</span></dt> <dd> <p><span data-i18n="4ae98fa8a9ed73e7d0443bd9f548ed540e68f37c0cc51662b9bd5a3c87620f15/5b" data-source="The optional GPG signature of the tag." onmousemove="i18n(this)">&Ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&acy;&yacy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&softcy; &tcy;&iecy;&gcy;&acy; GPG.</span></p> </dd> <dt id="Documentation/git-for-each-ref.txt-contentslinesN"><span data-i18n="905eb0e85ef1925a0f9fc279222ef01dfea22ee273d76e2479aba13d178f5edd/f4" data-source="contents:lines=N" onmousemove="i18n(this)">contents:lines=N</span></dt> <dd> <p><span data-i18n="4ff354c1b7b2ab28cf646fc2b93f45857a384e3acb9261e21985121d2f4682dc/23" data-source="The first &lt;code&gt;N&lt;/code&gt; lines of the message." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&vcy;&ycy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;  <code>N</code> .</span></p> </dd> </dl> </div> <p><span data-i18n="573659f0c5951f908e0b0c395320be5712e089fe0a5ee454079f02add9e5f2ef/55" data-source="Additionally, the trailers as interpreted by &lt;a href=&quot;git-interpret-trailers&quot;&gt;git-interpret-trailers[1]&lt;/a&gt; are obtained as &lt;code&gt;trailers[:options]&lt;/code&gt; (or by using the historical alias &lt;code&gt;contents:trailers[:options]&lt;/code&gt;). For valid [:option] values see &lt;code&gt;trailers&lt;/code&gt; section of &lt;a href=&quot;git-log&quot;&gt;git-log[1]&lt;/a&gt;." onmousemove="i18n(this)">&Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &tcy;&rcy;&iecy;&jcy;&lcy;&iecy;&rcy;&ycy;, &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&iecy;  <a href="git-interpret-trailers.html">git-interpret-trailers[1]</a> , &pcy;&ocy;&lcy;&ucy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &kcy;&acy;&kcy;  <code>trailers[:options]</code>  (&icy;&lcy;&icy; &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&gcy;&ocy; &pcy;&scy;&iecy;&vcy;&dcy;&ocy;&ncy;&icy;&mcy;&acy;  <code>contents:trailers[:options]</code> ). &Dcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&mcy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; [:option] &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <code>trailers</code>  &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;  <a href="git-log.html">git-log[1]</a> .</span></p> <p><span data-i18n="0977f25129908c4806517216a64536cf783584182c8a75eb790d6bd14858770c/85" data-source="For sorting purposes, fields with numeric values sort in numeric order (&lt;code&gt;objectsize&lt;/code&gt;, &lt;code&gt;authordate&lt;/code&gt;, &lt;code&gt;committerdate&lt;/code&gt;, &lt;code&gt;creatordate&lt;/code&gt;, &lt;code&gt;taggerdate&lt;/code&gt;). All other fields are used to sort in their byte-value order." onmousemove="i18n(this)">&Vcy; &tscy;&iecy;&lcy;&yacy;&khcy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &pcy;&ocy;&lcy;&yacy; &scy; &chcy;&icy;&scy;&lcy;&ocy;&vcy;&ycy;&mcy;&icy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;&mcy;&icy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &vcy; &chcy;&icy;&scy;&lcy;&ocy;&vcy;&ocy;&mcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy; (  <code>objectsize</code>  ,  <code>authordate</code>  ,  <code>committerdate</code>  ,  <code>creatordate</code>  ,  <code>taggerdate</code>  ). &Vcy;&scy;&iecy; &ocy;&scy;&tcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &pcy;&ocy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &vcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy; &icy;&khcy; &bcy;&acy;&jcy;&tcy;&ocy;&vcy;&ycy;&khcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&jcy;.</span></p> <p><span data-i18n="1aa656bfda08776d0a979c61162c3031504ff7902930dbc7767f799b4b0234d8/3d" data-source="There is also an option to sort by versions, this can be done by using the fieldname &lt;code&gt;version:refname&lt;/code&gt; or its alias &lt;code&gt;v:refname&lt;/code&gt;." onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &scy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &pcy;&ocy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&mcy;, &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &icy;&mcy;&yacy; &pcy;&ocy;&lcy;&yacy;  <code>version:refname</code>  &icy;&lcy;&icy; &iecy;&gcy;&ocy; &pcy;&scy;&iecy;&vcy;&dcy;&ocy;&ncy;&icy;&mcy;  <code>v:refname</code> .</span></p> <p><span data-i18n="b1ea6272aa77520a5035d0a16a3802a9b286663503bb4b37a7980aaf1205c05a/4c" data-source="In any case, a field name that refers to a field inapplicable to the object referred by the ref does not cause an error. It returns an empty string instead." onmousemove="i18n(this)">&Vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &icy;&mcy;&yacy; &pcy;&ocy;&lcy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &pcy;&ocy;&lcy;&iecy;, &ncy;&iecy;&pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&mcy;&ocy;&iecy; &kcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ucy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy;, &ncy;&iecy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ocy;&ncy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy; &pcy;&ucy;&scy;&tcy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy;.</span></p> <p><span data-i18n="38c43999283f058daeda8443e721502c9e60022991299c4b5767df1161dc7b3f/da" data-source="As a special case for the date-type fields, you may specify a format for the date by adding &lt;code&gt;:&lt;/code&gt; followed by date format name (see the values the &lt;code&gt;--date&lt;/code&gt; option to &lt;a href=&quot;git-rev-list&quot;&gt;git-rev-list[1]&lt;/a&gt; takes)." onmousemove="i18n(this)">&Vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ocy;&scy;&ocy;&bcy;&ocy;&gcy;&ocy; &scy;&lcy;&ucy;&chcy;&acy;&yacy; &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&iecy;&jcy; &tcy;&icy;&pcy;&acy; &dcy;&acy;&tcy;&ycy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &dcy;&acy;&tcy;&ycy;, &dcy;&ocy;&bcy;&acy;&vcy;&icy;&vcy;  <code>:</code> , &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&mcy;&yacy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&acy; &dcy;&acy;&tcy;&ycy; (&scy;&mcy;. &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--date</code>  &dcy;&lcy;&yacy;  <a href="git-rev-list.html">git-rev-list[1]</a> ).</span></p> <p><span data-i18n="cbe3333acb1311a06065bbb615499dd0cb6c35a3eb64316f21d8630ef2ddc24c/73" data-source="Some atoms like %(align) and %(if) always require a matching %(end). We call them &amp;quot;opening atoms&amp;quot; and sometimes denote them as %($open)." onmousemove="i18n(this)">&Ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &acy;&tcy;&ocy;&mcy;&ycy;, &tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy; %(align) &icy; %(if), &vcy;&scy;&iecy;&gcy;&dcy;&acy; &tcy;&rcy;&iecy;&bcy;&ucy;&yucy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; %(end). &Mcy;&ycy; &ncy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&mcy; &icy;&khcy;  &quot;opening atoms&quot;  &icy; &icy;&ncy;&ocy;&gcy;&dcy;&acy; &ocy;&bcy;&ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&mcy; %($open).</span></p> <p><span data-i18n="f6522aeaa185b63ab3f8ad3353d36f67f8e51406e1b16400e767e3691460fad7/c2" data-source="When a scripting language specific quoting is in effect, everything between a top-level opening atom and its matching %(end) is evaluated according to the semantics of the opening atom and only its result from the top-level is quoted." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy;, &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&chcy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &yacy;&zcy;&ycy;&kcy;&acy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&iecy;&vcy;, &vcy;&scy;&iecy; &mcy;&iecy;&zhcy;&dcy;&ucy; &ocy;&tcy;&kcy;&rcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&mcy; &acy;&tcy;&ocy;&mcy;&ocy;&mcy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy; &icy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&mcy; &iecy;&mcy;&ucy; %(end) &ocy;&tscy;&iecy;&ncy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &scy;&iecy;&mcy;&acy;&ncy;&tcy;&icy;&kcy;&ocy;&jcy; &ocy;&tcy;&kcy;&rcy;&ycy;&vcy;&acy;&yucy;&shchcy;&iecy;&gcy;&ocy; &acy;&tcy;&ocy;&mcy;&acy;, &icy; &tscy;&icy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &iecy;&gcy;&ocy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <p><span data-i18n="4f992317dabb4ce6d11ad874c255de5dd8c84353b169b5473c10bab90e573825/3f" data-source="An example directly producing formatted text. Show the most recent 3 tagged commits:" onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&rcy; &ncy;&iecy;&pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &tcy;&iecy;&kcy;&scy;&tcy;&acy;. &Pcy;&ocy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&iecy; 3 &ocy;&tcy;&mcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;:</span></p> <div> <div> <pre class="hljs language-bash"><span class="hljs-meta">#!/bin/sh</span>

git for-each-ref --count=3 --<span class="hljs-built_in">sort</span>=<span class="hljs-string">&apos;-*authordate&apos;</span> \
--format=<span class="hljs-string">&apos;From: %(*authorname) %(*authoremail)
Subject: %(*subject)
Date: %(*authordate)
Ref: %(*refname)

%(*body)
&apos;</span> <span class="hljs-string">&apos;refs/tags&apos;</span></pre> </div> </div> <p><span data-i18n="61321164bc24f3a1182d72e54ef054dfcd6b174c6a376bbabff5c6f20d511490/a2" data-source="A simple example showing the use of shell eval on the output, demonstrating the use of --shell. List the prefixes of all heads:" onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&tcy;&ocy;&jcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&jcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ocy;&bcy;&ocy;&lcy;&ocy;&chcy;&kcy;&icy; eval &ncy;&acy; &vcy;&ycy;&khcy;&ocy;&dcy;&iecy;, &dcy;&iecy;&mcy;&ocy;&ncy;&scy;&tcy;&rcy;&icy;&rcy;&ucy;&yucy;&shchcy;&icy;&jcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; --shell. &Pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&icy;&tcy;&iecy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&ycy; &vcy;&scy;&iecy;&khcy; &gcy;&ocy;&lcy;&ocy;&vcy;:</span></p> <div> <div> <pre class="hljs language-bash"><span class="hljs-meta">#!/bin/sh</span>

git for-each-ref --shell --format=<span class="hljs-string">&quot;ref=%(refname)&quot;</span> refs/heads | \
<span class="hljs-keyword">while</span> <span class="hljs-built_in">read</span> entry
<span class="hljs-keyword">do</span>
        <span class="hljs-built_in">eval</span> <span class="hljs-string">&quot;<span class="hljs-variable">$entry</span>&quot;</span>
        <span class="hljs-built_in">echo</span> `<span class="hljs-built_in">dirname</span> <span class="hljs-variable">$ref</span>`
<span class="hljs-keyword">done</span></pre> </div> </div> <p><span data-i18n="cd938f4de82d13d580bcd9850c7af4830af8bf5e12052b100e8b0381d81d327f/38" data-source="A bit more elaborate report on tags, demonstrating that the format may be an entire script:" onmousemove="i18n(this)">&Ncy;&iecy;&mcy;&ncy;&ocy;&gcy;&ocy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ycy;&jcy; &ocy;&tcy;&chcy;&iecy;&tcy; &pcy;&ocy; &tcy;&iecy;&gcy;&acy;&mcy;, &dcy;&iecy;&mcy;&ocy;&ncy;&scy;&tcy;&rcy;&icy;&rcy;&ucy;&yucy;&shchcy;&icy;&jcy;, &chcy;&tcy;&ocy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &tscy;&iecy;&lcy;&ycy;&mcy; &scy;&kcy;&rcy;&icy;&pcy;&tcy;&ocy;&mcy;:</span></p> <div> <div> <pre class="hljs language-bash"><span class="hljs-meta">#!/bin/sh</span>

<span class="hljs-built_in">fmt</span>=<span class="hljs-string">&apos;
        r=%(refname)
        t=%(*objecttype)
        T=${r#refs/tags/}

        o=%(*objectname)
        n=%(*authorname)
        e=%(*authoremail)
        s=%(*subject)
        d=%(*authordate)
        b=%(*body)

        kind=Tag
        if test &quot;z$t&quot; = z
        then
                # could be a lightweight tag
                t=%(objecttype)
                kind=&quot;Lightweight tag&quot;
                o=%(objectname)
                n=%(authorname)
                e=%(authoremail)
                s=%(subject)
                d=%(authordate)
                b=%(body)
        fi
        echo &quot;$kind $T points at a $t object $o&quot;
        if test &quot;z$t&quot; = zcommit
        then
                echo &quot;The commit was authored by $n $e
at $d, and titled

    $s

Its message reads as:
&quot;
                echo &quot;$b&quot; | sed -e &quot;s/^/    /&quot;
                echo
        fi
&apos;</span>

<span class="hljs-built_in">eval</span>=`git for-each-ref --shell --format=<span class="hljs-string">&quot;<span class="hljs-variable">$fmt</span>&quot;</span> \
        --<span class="hljs-built_in">sort</span>=<span class="hljs-string">&apos;*objecttype&apos;</span> \
        --<span class="hljs-built_in">sort</span>=-taggerdate \
        refs/tags`
<span class="hljs-built_in">eval</span> <span class="hljs-string">&quot;<span class="hljs-variable">$eval</span>&quot;</span></pre> </div> </div> <p><span data-i18n="f9df7625b0e463f911ff3a81b6b15fcc582eb27b96152c1234558d8bd4c694ca/39" data-source="An example to show the usage of %(if)&amp;hellip;&amp;ZeroWidthSpace;%(then)&amp;hellip;&amp;ZeroWidthSpace;%(else)&amp;hellip;&amp;ZeroWidthSpace;%(end). This prefixes the current branch with a star." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&jcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; %(if)&hellip;&ZeroWidthSpace;%(then)&hellip;&ZeroWidthSpace;%(else)&hellip;&ZeroWidthSpace;%(end). &Ecy;&tcy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &kcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy; &zcy;&vcy;&iecy;&zcy;&dcy;&ocy;&chcy;&kcy;&ucy;.</span></p> <div> <div> <pre class="hljs language-perl">git <span class="hljs-keyword">for</span>-<span class="hljs-keyword">each</span>-<span class="hljs-keyword">ref</span> --<span class="hljs-keyword">format</span>=<span class="hljs-string">&quot;%(if)%(HEAD)%(then)* %(else)  %(end)%(refname:short)&quot;</span> refs/heads/</pre> </div> </div> <p><span data-i18n="d75d7b516da358346d7d798b8af1eced4575ade818edc275afaf71e5b51beefb/6b" data-source="An example to show the usage of %(if)&amp;hellip;&amp;ZeroWidthSpace;%(then)&amp;hellip;&amp;ZeroWidthSpace;%(end). This prints the authorname, if present." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&jcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; %(if)&hellip;&ZeroWidthSpace;%(then)&hellip;&ZeroWidthSpace;%(end). &Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &pcy;&iecy;&chcy;&acy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&mcy;&yacy; &acy;&vcy;&tcy;&ocy;&rcy;&acy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&ocy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;.</span></p> <div> <div> <pre class="hljs language-perl">git <span class="hljs-keyword">for</span>-<span class="hljs-keyword">each</span>-<span class="hljs-keyword">ref</span> --<span class="hljs-keyword">format</span>=<span class="hljs-string">&quot;%(refname)%(if)%(authorname)%(then) Authored by: %(authorname)%(end)&quot;</span></pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_caveats"><span data-i18n="712cfefcf76f0a0a2ca783ab7c5487dde050f4480f149197d44e61247db07ebf/a9" data-source="Caveats" onmousemove="i18n(this)">Caveats</span></h2> <div> <p><span data-i18n="9079e302240267103ad23996505ab05cb4b3f49c2bee87e18ba12db4d84bbaaf/55" data-source="Note that the sizes of objects on disk are reported accurately, but care should be taken in drawing conclusions about which refs or objects are responsible for disk usage. The size of a packed non-delta object may be much larger than the size of objects which delta against it, but the choice of which object is the base and which is the delta is arbitrary and is subject to change during a repack." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&ycy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&chcy;&ncy;&ocy;, &ncy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &pcy;&rcy;&ocy;&yacy;&vcy;&lcy;&yacy;&tcy;&softcy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy;, &dcy;&iecy;&lcy;&acy;&yacy; &vcy;&ycy;&vcy;&ocy;&dcy;&ycy; &ocy; &tcy;&ocy;&mcy;, &kcy;&acy;&kcy;&icy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &icy;&lcy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &ocy;&tcy;&vcy;&iecy;&chcy;&acy;&yucy;&tcy; &zcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &dcy;&icy;&scy;&kcy;&acy;. &Rcy;&acy;&zcy;&mcy;&iecy;&rcy; &ucy;&pcy;&acy;&kcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &ncy;&iecy;-&dcy;&iecy;&lcy;&softcy;&tcy;&acy;-&ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &ncy;&acy;&mcy;&ncy;&ocy;&gcy;&ocy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy;, &chcy;&iecy;&mcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &dcy;&iecy;&lcy;&softcy;&tcy;&acy;-&pcy;&rcy;&ocy;&tcy;&icy;&vcy; &ncy;&iecy;&gcy;&ocy;, &ncy;&ocy; &vcy;&ycy;&bcy;&ocy;&rcy;, &kcy;&acy;&kcy;&ocy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &bcy;&acy;&zcy;&ocy;&vcy;&ycy;&mcy;, &acy; &kcy;&acy;&kcy;&ocy;&jcy; &dcy;&iecy;&lcy;&softcy;&tcy;&acy;, &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&lcy;&iecy;&ncy; &icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &pcy;&iecy;&rcy;&iecy;&ucy;&pcy;&acy;&kcy;&ocy;&vcy;&kcy;&icy;.</span></p> <p><span data-i18n="011416f30b618aff7bcc70de14a1295ea942689215243b21049cce3a0431a195/02" data-source="Note also that multiple copies of an object may be present in the object database; in this case, it is undefined which copy&amp;rsquo;s size or delta base will be reported." onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &vcy; &bcy;&acy;&zcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &kcy;&ocy;&pcy;&icy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;; &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ncy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ocy;, &ocy; &kcy;&acy;&kcy;&ocy;&mcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&iecy; &kcy;&ocy;&pcy;&icy;&icy; &icy;&lcy;&icy; &dcy;&iecy;&lcy;&softcy;&tcy;&acy;-&bcy;&acy;&zcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&ocy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_notes"><span data-i18n="8a7525b1492fb84833f5c4a69b30f4bfbb134f9b666b61a2c1872d63d234c085/bb" data-source="Notes" onmousemove="i18n(this)">Notes</span></h2> <div> <p><span data-i18n="5cef59c2bc00943356119824fe9a7c2f9845e4b4a85b3d82ed889d3a888ead65/2d" data-source="When combining multiple &lt;code&gt;--contains&lt;/code&gt; and &lt;code&gt;--no-contains&lt;/code&gt; filters, only references that contain at least one of the &lt;code&gt;--contains&lt;/code&gt; commits and contain none of the &lt;code&gt;--no-contains&lt;/code&gt; commits are shown." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&vcy;  <code>--contains</code>  &icy;  <code>--no-contains</code>  &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &ocy;&dcy;&icy;&ncy; &icy;&zcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;  <code>--contains</code>  &icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy;  none  &icy;&zcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;  <code>--no-contains</code> .</span></p> <p><span data-i18n="db799290736c960ffb6921e9cd2fd614c2c66b6c1e4ff89865d3ba6a8fb7f3a5/40" data-source="When combining multiple &lt;code&gt;--merged&lt;/code&gt; and &lt;code&gt;--no-merged&lt;/code&gt; filters, only references that are reachable from at least one of the &lt;code&gt;--merged&lt;/code&gt; commits and from none of the &lt;code&gt;--no-merged&lt;/code&gt; commits are shown." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&vcy;  <code>--merged</code>  &icy;  <code>--no-merged</code>  &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&iecy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &icy;&zcy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &icy;&zcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;  <code>--merged</code>  &icy; &icy;&zcy;  none  &icy;&zcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;  <code>--no-merged</code> .</span></p> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><a href="git-show-ref.html"><span data-i18n="8b16d81da5f595318c6e45f4d203da8a11e0f2b1796e0c4787040f16953eec9d/b3" data-source="git-show-ref[1]" onmousemove="i18n(this)">git-show-ref[1]</span></a></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-for-each-ref">https://git-scm.com/docs/git-for-each-ref</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-for-each-repo.html">
                            git for-each-repo                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-format-patch.html">
                            git format-patch                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-fsck.html">
                            git fsck                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-fsmonitor--daemon.html">
                            git fsmonitor--daemon                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-gc.html">
                            git gc                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-get-tar-commit-id.html">
                            git get-tar-commit-id                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-grep.html">
                            git grep                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-for-each-ref.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>